package com.yboot.module.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yboot.module.system.model.entity.SysMenuEntity;
import com.yboot.module.system.model.vo.SysMenuVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 菜单表
 * @author yangcs
 * @date 2025-08-29
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenuEntity> {
    List<SysMenuVo> selectMenuTreeAll();

    List<SysMenuVo> selectMenuTreeByUserId(String userId);
}